php forum
php mysql forum
php mysql smarty
 
Page 3 of 3 < 1 2 3
Topic Options
#150217 - 02/24/02 08:21 AM Re: [6.1x] Megamod 2.0
Locutus of Borg Offline
Junior Member

Registered: 08/24/01
Posts: 8
Thanx a lot for the help. I d/l´ed it and now I´m goin´ to kill my UBB wink

Top
#150218 - 02/26/02 04:07 AM Re: [6.1x] Megamod 2.0
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
The 1st, Argh. Are you switching servers raiyan?

Top
#150219 - 02/27/02 10:52 AM Re: [6.1x] Megamod 2.0
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
No, we just exceeded the bandwidth (surprisingly). plain and simple. I learned from this and won't let it happen again. wink

Top
#150220 - 02/27/02 11:23 PM Re: [6.1x] Megamod 2.0
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Isn't it because we got so much more visitors and posts in the last month or so?

Top
#150221 - 03/03/02 10:05 AM Re: [6.1x] Megamod 2.0
azure Offline
Junior Member

Registered: 03/03/02
Posts: 2
Loc: NC
I'm sorry if this is a stupid question, but I'm using UBB 6.04 and I cannot find:

if (($ubb eq 'vars_mod') && ($status eq 'Administrator')) {
&view_vars("mods");
exit(0);
} #end vars_mod

in cp.cgi. This may be because of the other hacks I've done, but I rather doubt it... Is there another megamod hack that definitely works with 6.04 or what can I do about this problem? Thank you.

:edit: Oops. I just realized I've been looking in the wrong forum. Nevermind! ^^;;

Top
#150222 - 03/03/02 11:36 PM Re: [6.1x] Megamod 2.0
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
It's because this MegaMod if for 6.1, not 6.04.

Top
#150223 - 03/10/02 06:21 AM Re: [6.1x] Megamod 2.0
Locutus of Borg Offline
Junior Member

Registered: 08/24/01
Posts: 8
You can name me mad, but I tried to patch the UBB 6.2.1 with the Mega-Moderator-Hack.

I found everything and patched it. Besides only one thing frown

</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Open ubb_lib.cgi
Find:
sub is_admin_or_mod {
local ($f, @profile, $Moderator, @mods, $mod_name, $mod_num, $mod_match, $is_one, @mod_profile);
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">I can´t find. But I found this part which should be the right one. How must it be patched?

</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">sub is_admin_or_mod {
my ($Moderator, $mod_match, $is_one);

my ($f, @profile) = @_;
chomp($profile[8]);
chomp($profile[0]);

if ($profile[8] eq 'Administrator') {
$is_one = 'true';
} elsif ($profile[8] eq 'Moderator') {

if ($f ne 'ALL') {

# check to see if user is moderator of particular forum

# check if moderator
&RequireVars("$vars_config{VariablesPath}/vars_mods.cgi");

$Moderator = ${ "Forum" . "$f" . "Moderator" };

#split up Mod var
my @mods = split (/||^||/, $Moderator);

my @mod_profile = ();
foreach (@mods) {
chomp($_);
if (-s "$vars_config{MembersPath}/$_.cgi") {
@mod_profile = &OpenProfile($_);
chomp($mod_profile[0]);

if ($mod_profile[0] eq $profile[0]) {
$mod_match = 'true';
} # end if
} # end if
} # end foreach

if ($mod_match ne 'true') {
$is_one = 'false';
} else {
$is_one = 'true';
} # end if
} else {
# this is just to see if user is a mod of any forum
$is_one = 'true';
} # end if
} else {
$is_one = 'false';
} # end if

return ($is_one);
} # is_admin_or_mod</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Thanx a lot
Locutus of Borg

Top
#150224 - 03/10/02 08:56 AM Re: [6.1x] Megamod 2.0
Locutus of Borg Offline
Junior Member

Registered: 08/24/01
Posts: 8
Sorry. Forget it. I saw that there is already a Hack for the 6.2.0 (v2.1)

Top
Page 3 of 3 < 1 2 3



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks